const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  refreshToken: state => state.user.refreshToken,
  uid: state => state.user.uid,
  roles: state => state.user.roles,
  name: state => state.user.name,
  dept: state => state.user.dept,
  deptName: state => state.user.deptName,
  account: state => state.user.account,
  permission_routers: state => state.permission.routes
}
export default getters
